package com.qs.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author author
 * @since 2023-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class GoodsInfoDto implements Serializable {

    private Integer id;
    private String name;
    private double price;

    /**
     * 已售
     */
    private Integer sale;
    /**
     * 商品主图
     */
    private String image;
}
